<?php
/**
 * defines exceptions for Webappkit
 *
 * This file is part of Webappkit, a packages system for PHP web apps
 * @link http://webappkit.net
 * @package webappkit
 * @author J.Ducastel <nospam0@ducastel.name>
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 */

/**
 * base exception
 */
class WakException extends Exception {}

/**
 * a kit is malformed
 */
class WakBadKit extends WakException {}

/*
 * a config file is broken or missing
 */
class WakBadCfg extends WakException {}

/*
 * PHP version is out of functional range
 */
class WakBadPHP extends WakException {}

/**
 * a file is missing
 */
class WakMissingFile extends WakException {}

/**
 * a class is missing
 */
class WakMissingClass extends WakException {}

/**
 * a kit is missing
 */
class WakMissingKit extends WakException {}

/**
 * method/feature not implemented
 */
class WakNotImplemented extends WakException {}
